﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ITXHWEB.Models
{

    public class ITXModel: INotifyPropertyChanged
    {
         
        public ITXModel()
        {
            REMARK = "请扫描";  
        } 
        [Display(Name = "终端")]
        [StringLength(2)]
        public string TERMNO { get; set; }
 
      
        [Display(Name = "挡车工")]
        [StringLength(8)]
        public string STAFF { get; set; }
        
        [Display(Name = "数据有效")]
        public bool IsDataValid { get; set; }
         
        [Display(Name = "备注")] 
        public string REMARK { get; set; }

        [Display(Name = "WRUNID")]
        public string WRUNID { get; set; }
        [Display(Name = "掌机")]
        public string NEWUSER { get; set; }
        public event PropertyChangedEventHandler PropertyChanged;
        /*
        protected virtual void SetProperty<T>(ref T storage, T value, [CallerMemberName] string propertyName = null)
        {
            if (!object.Equals(storage, value))
            {
                storage = value;
                var handler = PropertyChanged;
                if (handler != null)
                {
                    handler(this, new PropertyChangedEventArgs(propertyName));
                }
            }
        }*/
    } 
   
}
